﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>

  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class BiasingSimulation </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class BiasingSimulation ">
    <meta name="generator" content="docfx ">
  
    <link rel="shortcut icon" href="../api/images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> 
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    <script type="text/javascript" async="" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML"></script>
  
  
  
  </head>  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>

        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>

              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../api/images/favicon.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>

        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">

        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="SpiceSharp.Simulations.BiasingSimulation">



  <h1 id="SpiceSharp_Simulations_BiasingSimulation" data-uid="SpiceSharp.Simulations.BiasingSimulation" class="text-break">Class BiasingSimulation</h1>
  <div class="markdown level0 summary"><p>A class that can bias components.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="SpiceSharp.ParameterSets.ParameterSet.html">ParameterSet</a></div>
    <div class="level2"><a class="xref" href="SpiceSharp.ParameterSets.ParameterSetCollection.html">ParameterSetCollection</a></div>
    <div class="level3"><a class="xref" href="SpiceSharp.Simulations.Simulation.html">Simulation</a></div>
    <div class="level4"><span class="xref">BiasingSimulation</span></div>
      <div class="level5"><a class="xref" href="SpiceSharp.Simulations.DC.html">DC</a></div>
      <div class="level5"><a class="xref" href="SpiceSharp.Simulations.FrequencySimulation.html">FrequencySimulation</a></div>
      <div class="level5"><a class="xref" href="SpiceSharp.Simulations.OP.html">OP</a></div>
      <div class="level5"><a class="xref" href="SpiceSharp.Simulations.Transient.html">Transient</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="SpiceSharp.Simulations.IBiasingSimulation.html">IBiasingSimulation</a></div>
    <div><a class="xref" href="SpiceSharp.Simulations.ISimulation-1.html">ISimulation</a>&lt;<a class="xref" href="SpiceSharp.Simulations.IVariable-1.html">IVariable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>&gt;&gt;</div>
    <div><a class="xref" href="SpiceSharp.Simulations.ITemperatureSimulation.html">ITemperatureSimulation</a></div>
    <div><a class="xref" href="SpiceSharp.Simulations.ISimulation.html">ISimulation</a></div>
    <div><a class="xref" href="SpiceSharp.ParameterSets.IParameterSetCollection.html">IParameterSetCollection</a></div>
    <div><a class="xref" href="SpiceSharp.ParameterSets.IParameterSet.html">IParameterSet</a></div>
    <div><a class="xref" href="SpiceSharp.Simulations.IStateful-1.html">IStateful</a>&lt;<a class="xref" href="SpiceSharp.Simulations.ITemperatureSimulationState.html">ITemperatureSimulationState</a>&gt;</div>
    <div><a class="xref" href="SpiceSharp.Simulations.IBehavioral-1.html">IBehavioral</a>&lt;<a class="xref" href="SpiceSharp.Behaviors.ITemperatureBehavior.html">ITemperatureBehavior</a>&gt;</div>
    <div><a class="xref" href="SpiceSharp.Simulations.IBehavioral-1.html">IBehavioral</a>&lt;<a class="xref" href="SpiceSharp.Behaviors.IBiasingBehavior.html">IBiasingBehavior</a>&gt;</div>
    <div><a class="xref" href="SpiceSharp.Simulations.IBehavioral-1.html">IBehavioral</a>&lt;<a class="xref" href="SpiceSharp.Behaviors.IConvergenceBehavior.html">IConvergenceBehavior</a>&gt;</div>
    <div><a class="xref" href="SpiceSharp.Simulations.IStateful-1.html">IStateful</a>&lt;<a class="xref" href="SpiceSharp.Simulations.IBiasingSimulationState.html">IBiasingSimulationState</a>&gt;</div>
    <div><a class="xref" href="SpiceSharp.Simulations.IStateful-1.html">IStateful</a>&lt;<a class="xref" href="SpiceSharp.Simulations.Biasing.TemperatureSimulationState.html">TemperatureSimulationState</a>&gt;</div>
    <div><a class="xref" href="SpiceSharp.Simulations.IStateful-1.html">IStateful</a>&lt;<a class="xref" href="SpiceSharp.Simulations.IIterationSimulationState.html">IIterationSimulationState</a>&gt;</div>
    <div><a class="xref" href="SpiceSharp.Simulations.IStateful.html">IStateful</a></div>
    <div><a class="xref" href="SpiceSharp.Simulations.IBehavioral-1.html">IBehavioral</a>&lt;<a class="xref" href="SpiceSharp.Behaviors.IBiasingUpdateBehavior.html">IBiasingUpdateBehavior</a>&gt;</div>
    <div><a class="xref" href="SpiceSharp.Simulations.IBehavioral.html">IBehavioral</a></div>
    <div><a class="xref" href="SpiceSharp.ParameterSets.IParameterized-1.html">IParameterized</a>&lt;<a class="xref" href="SpiceSharp.Simulations.BiasingParameters.html">BiasingParameters</a>&gt;</div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Exports">Simulation.Exports</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Actions">Simulation.Actions</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_AfterSetup">Simulation.AfterSetup</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_AfterValidation">Simulation.AfterValidation</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_BeforeExecute">Simulation.BeforeExecute</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_AfterExecute">Simulation.AfterExecute</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Status">Simulation.Status</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_States">Simulation.States</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Behaviors">Simulation.Behaviors</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Name">Simulation.Name</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_CurrentRun">Simulation.CurrentRun</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Repeat">Simulation.Repeat</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_EntityBehaviors">Simulation.EntityBehaviors</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Run_SpiceSharp_Entities_IEntityCollection_System_Int32_">Simulation.Run(IEntityCollection, int)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Rerun_System_Int32_">Simulation.Rerun(int)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Validate_SpiceSharp_Validation_IRules_SpiceSharp_Entities_IEntityCollection_">Simulation.Validate(IRules, IEntityCollection)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_UsesBehaviors__1">Simulation.UsesBehaviors&lt;B&gt;()</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_UsesBehavior_System_Type_">Simulation.UsesBehavior(Type)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_GetState__1">Simulation.GetState&lt;S&gt;()</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_TryGetState__1___0__">Simulation.TryGetState&lt;S&gt;(out S)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_UsesState__1">Simulation.UsesState&lt;S&gt;()</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.ParameterSets.ParameterSetCollection.html#SpiceSharp_ParameterSets_ParameterSetCollection_GetParameterSet__1">ParameterSetCollection.GetParameterSet&lt;P&gt;()</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.ParameterSets.ParameterSetCollection.html#SpiceSharp_ParameterSets_ParameterSetCollection_TryGetParameterSet__1___0__">ParameterSetCollection.TryGetParameterSet&lt;P&gt;(out P)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.ParameterSets.ParameterSetCollection.html#SpiceSharp_ParameterSets_ParameterSetCollection_ParameterSets">ParameterSetCollection.ParameterSets</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.ParameterSets.ParameterSetCollection.html#SpiceSharp_ParameterSets_ParameterSetCollection_SetParameter__1_System_String___0_">ParameterSetCollection.SetParameter&lt;P&gt;(string, P)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.ParameterSets.ParameterSetCollection.html#SpiceSharp_ParameterSets_ParameterSetCollection_TrySetParameter__1_System_String___0_">ParameterSetCollection.TrySetParameter&lt;P&gt;(string, P)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.ParameterSets.ParameterSetCollection.html#SpiceSharp_ParameterSets_ParameterSetCollection_GetProperty__1_System_String_">ParameterSetCollection.GetProperty&lt;P&gt;(string)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.ParameterSets.ParameterSetCollection.html#SpiceSharp_ParameterSets_ParameterSetCollection_TryGetProperty__1_System_String___0__">ParameterSetCollection.TryGetProperty&lt;P&gt;(string, out P)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.ParameterSets.ParameterSetCollection.html#SpiceSharp_ParameterSets_ParameterSetCollection_CreateParameterSetter__1_System_String_">ParameterSetCollection.CreateParameterSetter&lt;P&gt;(string)</a>
    </div>
    <div>
      <a class="xref" href="SpiceSharp.ParameterSets.ParameterSetCollection.html#SpiceSharp_ParameterSets_ParameterSetCollection_CreatePropertyGetter__1_System_String_">ParameterSetCollection.CreatePropertyGetter&lt;P&gt;(string)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="SpiceSharp.html">SpiceSharp</a>.<a class="xref" href="SpiceSharp.Simulations.html">Simulations</a></h6>
  <h6><strong>Assembly</strong>: SpiceSharp.dll</h6>
  <h5 id="SpiceSharp_Simulations_BiasingSimulation_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BiasingSimulation : Simulation, IBiasingSimulation, ISimulation&lt;IVariable&lt;double&gt;&gt;, ITemperatureSimulation, ISimulation, IParameterSetCollection, IParameterSet, IStateful&lt;ITemperatureSimulationState&gt;, IBehavioral&lt;ITemperatureBehavior&gt;, IBehavioral&lt;IBiasingBehavior&gt;, IBehavioral&lt;IConvergenceBehavior&gt;, IStateful&lt;IBiasingSimulationState&gt;, IStateful&lt;TemperatureSimulationState&gt;, IStateful&lt;IIterationSimulationState&gt;, IStateful, IBehavioral&lt;IBiasingUpdateBehavior&gt;, IBehavioral, IParameterized&lt;BiasingParameters&gt;</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <a id="SpiceSharp_Simulations_BiasingSimulation__ctor_" data-uid="SpiceSharp.Simulations.BiasingSimulation.#ctor*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation__ctor_System_String_" data-uid="SpiceSharp.Simulations.BiasingSimulation.#ctor(System.String)">BiasingSimulation(string)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="SpiceSharp.Simulations.BiasingSimulation.html">BiasingSimulation</a> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected BiasingSimulation(string name)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
        <td><span class="parametername">name</span></td>
        <td><p>The name of the simulation.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
        <td><p>Thrown if <code class="paramref">name</code> is <code>null</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_AfterTemperature" data-uid="SpiceSharp.Simulations.BiasingSimulation.AfterTemperature">AfterTemperature</h4>
  <div class="markdown level1 summary"><p>Represents the action after doing temperature-dependent calculations.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public const int AfterTemperature = 1048576</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <a id="SpiceSharp_Simulations_BiasingSimulation_BiasingParameters_" data-uid="SpiceSharp.Simulations.BiasingSimulation.BiasingParameters*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_BiasingParameters" data-uid="SpiceSharp.Simulations.BiasingSimulation.BiasingParameters">BiasingParameters</h4>
  <div class="markdown level1 summary"><p>Gets the biasing parameters.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public BiasingParameters BiasingParameters { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.BiasingParameters.html">BiasingParameters</a></td>
        <td><p>The biasing parameters.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_Iteration_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Iteration*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_Iteration" data-uid="SpiceSharp.Simulations.BiasingSimulation.Iteration">Iteration</h4>
  <div class="markdown level1 summary"><p>Gets the iteration state.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected BiasingSimulation.IterationState Iteration { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.BiasingSimulation.html">BiasingSimulation</a>.<a class="xref" href="SpiceSharp.Simulations.BiasingSimulation.IterationState.html">IterationState</a></td>
        <td><p>The iteration state.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_ProblemVariable_" data-uid="SpiceSharp.Simulations.BiasingSimulation.ProblemVariable*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_ProblemVariable" data-uid="SpiceSharp.Simulations.BiasingSimulation.ProblemVariable">ProblemVariable</h4>
  <div class="markdown level1 summary"><p>Gets the variable that causes issues.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IVariable ProblemVariable { get; protected set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.IVariable.html">IVariable</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="SpiceSharp_Simulations_BiasingSimulation_ProblemVariable_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>This variable can be used to close in on the problem in case of non-convergence.</p>
</div>
  <a id="SpiceSharp_Simulations_BiasingSimulation_Statistics_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Statistics*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_Statistics" data-uid="SpiceSharp.Simulations.BiasingSimulation.Statistics">Statistics</h4>
  <div class="markdown level1 summary"><p>Gets the statistics.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public BiasingSimulationStatistics Statistics { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.Biasing.BiasingSimulationStatistics.html">BiasingSimulationStatistics</a></td>
        <td><p>The statistics.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <a id="SpiceSharp_Simulations_BiasingSimulation_CreateBehaviors_" data-uid="SpiceSharp.Simulations.BiasingSimulation.CreateBehaviors*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_CreateBehaviors_SpiceSharp_Entities_IEntityCollection_" data-uid="SpiceSharp.Simulations.BiasingSimulation.CreateBehaviors(SpiceSharp.Entities.IEntityCollection)">CreateBehaviors(IEntityCollection)</h4>
  <div class="markdown level1 summary"><p>Creates all behaviors for the simulation.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected override void CreateBehaviors(IEntityCollection entities)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Entities.IEntityCollection.html">IEntityCollection</a></td>
        <td><span class="parametername">entities</span></td>
        <td><p>The entities.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_CreateBehaviors_SpiceSharp_Entities_IEntityCollection_">Simulation.CreateBehaviors(IEntityCollection)</a></div>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
        <td><p>Thrown if <code class="paramref">entities</code> is <code>null</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_CreateStates_" data-uid="SpiceSharp.Simulations.BiasingSimulation.CreateStates*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_CreateStates" data-uid="SpiceSharp.Simulations.BiasingSimulation.CreateStates">CreateStates()</h4>
  <div class="markdown level1 summary"><p>Creates all the simulation states for the simulation.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected override void CreateStates()</code></pre>
  </div>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_CreateStates">Simulation.CreateStates()</a></div>
  <a id="SpiceSharp_Simulations_BiasingSimulation_Execute_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Execute*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_Execute_System_Int32_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Execute(System.Int32)">Execute(int)</h4>
  <div class="markdown level1 summary"><p>Executes the simulation.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected override IEnumerable&lt;int&gt; Execute(int mask = 65535)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">mask</span></td>
        <td><p>A bit mask for simulation export identifiers.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Execute_System_Int32_">Simulation.Execute(int)</a></div>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.SpiceSharpException.html">SpiceSharpException</a></td>
        <td><p>Thrown if the simulation can't continue.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_Finish_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Finish*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_Finish" data-uid="SpiceSharp.Simulations.BiasingSimulation.Finish">Finish()</h4>
  <div class="markdown level1 summary"><p>Finish the simulation.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected override void Finish()</code></pre>
  </div>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Finish">Simulation.Finish()</a></div>
  <a id="SpiceSharp_Simulations_BiasingSimulation_IsConvergent_" data-uid="SpiceSharp.Simulations.BiasingSimulation.IsConvergent*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_IsConvergent" data-uid="SpiceSharp.Simulations.BiasingSimulation.IsConvergent">IsConvergent()</h4>
  <div class="markdown level1 summary"><p>Checks that the solution converges to a solution.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected bool IsConvergent()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
        <td><p><code>true</code> if the solution converges; otherwise, <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.SpiceSharpException.html">SpiceSharpException</a></td>
        <td><p>Thrown if a solution is not a number (NaN).</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_Iterate_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Iterate*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_Iterate_System_Int32_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Iterate(System.Int32)">Iterate(int)</h4>
  <div class="markdown level1 summary"><p>Iterates towards a solution.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual bool Iterate(int maxIterations)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">maxIterations</span></td>
        <td><p>The maximum allowed iterations.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
        <td><p><code>true</code> if the iterations converged to a solution; otherwise, <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.SpiceSharpException.html">SpiceSharpException</a></td>
        <td><p>Thrown if any behavior cannot load the matrix and/or right hand side vector, or if the solution
is not a number (NaN).</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="SpiceSharp.Algebra.SingularException.html">SingularException</a></td>
        <td><p>Thrown if the equation matrix is singular.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_IterateDiagonalGminStepping_" data-uid="SpiceSharp.Simulations.BiasingSimulation.IterateDiagonalGminStepping*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_IterateDiagonalGminStepping_System_Int32_System_Int32_" data-uid="SpiceSharp.Simulations.BiasingSimulation.IterateDiagonalGminStepping(System.Int32,System.Int32)">IterateDiagonalGminStepping(int, int)</h4>
  <div class="markdown level1 summary"><p>Iterates to a solution while adding a conductive path to ground on all nodes.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected bool IterateDiagonalGminStepping(int maxIterations, int steps)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">maxIterations</span></td>
        <td><p>The maximum number of iterations per step.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">steps</span></td>
        <td><p>The number of steps.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
        <td><p><code>true</code> if the diagonal gmin stepping succeeded; otherwise <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_IterateGminStepping_" data-uid="SpiceSharp.Simulations.BiasingSimulation.IterateGminStepping*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_IterateGminStepping_System_Int32_System_Int32_" data-uid="SpiceSharp.Simulations.BiasingSimulation.IterateGminStepping(System.Int32,System.Int32)">IterateGminStepping(int, int)</h4>
  <div class="markdown level1 summary"><p>Iterates to a solution while shunting PN-junctions with a conductance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected bool IterateGminStepping(int maxIterations, int steps)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">maxIterations</span></td>
        <td><p>The maximum number of iterations per step.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">steps</span></td>
        <td><p>The number of steps.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
        <td><p><code>true</code> if the gmin stepping succeeded; otherwise <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_IterateSourceStepping_" data-uid="SpiceSharp.Simulations.BiasingSimulation.IterateSourceStepping*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_IterateSourceStepping_System_Int32_System_Int32_" data-uid="SpiceSharp.Simulations.BiasingSimulation.IterateSourceStepping(System.Int32,System.Int32)">IterateSourceStepping(int, int)</h4>
  <div class="markdown level1 summary"><p>Iterates to a solution slowly ramping up independent voltages and currents.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected bool IterateSourceStepping(int maxIterations, int steps)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">maxIterations</span></td>
        <td><p>The maximum number of iterations per step.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">steps</span></td>
        <td><p>The number of steps.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
        <td><p><code>true</code> if source stepping succeeded; otherwise <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_Load_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Load*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_Load" data-uid="SpiceSharp.Simulations.BiasingSimulation.Load">Load()</h4>
  <div class="markdown level1 summary"><p>Load the current simulation state solver.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected void Load()</code></pre>
  </div>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.SpiceSharpException.html">SpiceSharpException</a></td>
        <td><p>Thrown if any behavior cannot load the matrix or right hand side vector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_LoadNodeSets_" data-uid="SpiceSharp.Simulations.BiasingSimulation.LoadNodeSets*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_LoadNodeSets_System_Object_SpiceSharp_Simulations_LoadStateEventArgs_" data-uid="SpiceSharp.Simulations.BiasingSimulation.LoadNodeSets(System.Object,SpiceSharp.Simulations.LoadStateEventArgs)">LoadNodeSets(object, LoadStateEventArgs)</h4>
  <div class="markdown level1 summary"><p>Applies nodesets.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected void LoadNodeSets(object sender, LoadStateEventArgs e)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
        <td><span class="parametername">sender</span></td>
        <td><p>The object sending the event.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.LoadStateEventArgs.html">LoadStateEventArgs</a></td>
        <td><span class="parametername">e</span></td>
        <td><p>The event arguments for loading the convergence aids.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_OnAfterLoad_" data-uid="SpiceSharp.Simulations.BiasingSimulation.OnAfterLoad*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_OnAfterLoad_SpiceSharp_Simulations_LoadStateEventArgs_" data-uid="SpiceSharp.Simulations.BiasingSimulation.OnAfterLoad(SpiceSharp.Simulations.LoadStateEventArgs)">OnAfterLoad(LoadStateEventArgs)</h4>
  <div class="markdown level1 summary"><p>Raises the <a class="xref" href="SpiceSharp.Simulations.BiasingSimulation.html#SpiceSharp_Simulations_BiasingSimulation_AfterLoad">AfterLoad</a> event.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void OnAfterLoad(LoadStateEventArgs args)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.LoadStateEventArgs.html">LoadStateEventArgs</a></td>
        <td><span class="parametername">args</span></td>
        <td><p>The <a class="xref" href="SpiceSharp.Simulations.LoadStateEventArgs.html">LoadStateEventArgs</a> instance containing the event data.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_OnBeforeLoad_" data-uid="SpiceSharp.Simulations.BiasingSimulation.OnBeforeLoad*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_OnBeforeLoad_SpiceSharp_Simulations_LoadStateEventArgs_" data-uid="SpiceSharp.Simulations.BiasingSimulation.OnBeforeLoad(SpiceSharp.Simulations.LoadStateEventArgs)">OnBeforeLoad(LoadStateEventArgs)</h4>
  <div class="markdown level1 summary"><p>Raises the <a class="xref" href="SpiceSharp.Simulations.BiasingSimulation.html#SpiceSharp_Simulations_BiasingSimulation_BeforeLoad">BeforeLoad</a> event.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void OnBeforeLoad(LoadStateEventArgs args)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.LoadStateEventArgs.html">LoadStateEventArgs</a></td>
        <td><span class="parametername">args</span></td>
        <td><p>The <a class="xref" href="SpiceSharp.Simulations.LoadStateEventArgs.html">LoadStateEventArgs</a> instance containing the event data.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_Op_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Op*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_Op_System_Int32_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Op(System.Int32)">Op(int)</h4>
  <div class="markdown level1 summary"><p>Calculates the operating point of the circuit.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected void Op(int maxIterations)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">maxIterations</span></td>
        <td><p>The maximum amount of allowed iterations.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_BiasingSimulation_StoreSolution_" data-uid="SpiceSharp.Simulations.BiasingSimulation.StoreSolution*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_StoreSolution" data-uid="SpiceSharp.Simulations.BiasingSimulation.StoreSolution">StoreSolution()</h4>
  <div class="markdown level1 summary"><p>Stores the solution.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected void StoreSolution()</code></pre>
  </div>
  <a id="SpiceSharp_Simulations_BiasingSimulation_Validate_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Validate*"></a>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_Validate_SpiceSharp_Entities_IEntityCollection_" data-uid="SpiceSharp.Simulations.BiasingSimulation.Validate(SpiceSharp.Entities.IEntityCollection)">Validate(IEntityCollection)</h4>
  <div class="markdown level1 summary"><p>Validates the input.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected override void Validate(IEntityCollection entities)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Entities.IEntityCollection.html">IEntityCollection</a></td>
        <td><span class="parametername">entities</span></td>
        <td><p>The entities.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="SpiceSharp.Simulations.Simulation.html#SpiceSharp_Simulations_Simulation_Validate_SpiceSharp_Entities_IEntityCollection_">Simulation.Validate(IEntityCollection)</a></div>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
        <td><p>Thrown if <code class="paramref">entities</code> is <code>null</code>.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.ValidationFailedException.html">ValidationFailedException</a></td>
        <td><p>Thrown if the validation failed.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_AfterLoad" data-uid="SpiceSharp.Simulations.BiasingSimulation.AfterLoad">AfterLoad</h4>
  <div class="markdown level1 summary"><p>Occurs after loading the matrix and right-hand side vector.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event EventHandler&lt;LoadStateEventArgs&gt; AfterLoad</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="SpiceSharp.Simulations.LoadStateEventArgs.html">LoadStateEventArgs</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="SpiceSharp_Simulations_BiasingSimulation_AfterLoad_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>For better performance, you can also create an entity with a low priority that
generates a load behavior.</p>
</div>
  <h4 id="SpiceSharp_Simulations_BiasingSimulation_BeforeLoad" data-uid="SpiceSharp.Simulations.BiasingSimulation.BeforeLoad">BeforeLoad</h4>
  <div class="markdown level1 summary"><p>Occurs before loading the matrix and right-hand side vector.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event EventHandler&lt;LoadStateEventArgs&gt; BeforeLoad</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="SpiceSharp.Simulations.LoadStateEventArgs.html">LoadStateEventArgs</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="SpiceSharp_Simulations_BiasingSimulation_BeforeLoad_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>For better performance, you can also create an entity with a high priority that
generates a load behavior.</p>
</div>
  <h3 id="implements">Implements</h3>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IBiasingSimulation.html">IBiasingSimulation</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.ISimulation-1.html">ISimulation&lt;V&gt;</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.ITemperatureSimulation.html">ITemperatureSimulation</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.ISimulation.html">ISimulation</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.ParameterSets.IParameterSetCollection.html">IParameterSetCollection</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.ParameterSets.IParameterSet.html">IParameterSet</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IStateful-1.html">IStateful&lt;S&gt;</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IBehavioral-1.html">IBehavioral&lt;B&gt;</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IBehavioral-1.html">IBehavioral&lt;B&gt;</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IBehavioral-1.html">IBehavioral&lt;B&gt;</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IStateful-1.html">IStateful&lt;S&gt;</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IStateful-1.html">IStateful&lt;S&gt;</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IStateful-1.html">IStateful&lt;S&gt;</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IStateful.html">IStateful</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IBehavioral-1.html">IBehavioral&lt;B&gt;</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.IBehavioral.html">IBehavioral</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.ParameterSets.IParameterized-1.html">IParameterized&lt;P&gt;</a>
  </div>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="SpiceSharp.Documentation.Documentation.html#SpiceSharp_Documentation_Documentation_ParameterValues__1_SpiceSharp_ParameterSets_IParameterSet_System_Boolean_">Documentation.ParameterValues&lt;T&gt;(IParameterSet, bool)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Documentation.Documentation.html#SpiceSharp_Documentation_Documentation_Parameters_SpiceSharp_ParameterSets_IParameterSet_">Documentation.Parameters(IParameterSet)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Documentation.Documentation.html#SpiceSharp_Documentation_Documentation_ParameterValues__1_SpiceSharp_ParameterSets_IParameterSetCollection_System_Boolean_">Documentation.ParameterValues&lt;T&gt;(IParameterSetCollection, bool)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Documentation.Documentation.html#SpiceSharp_Documentation_Documentation_Parameters_SpiceSharp_ParameterSets_IParameterSetCollection_">Documentation.Parameters(IParameterSetCollection)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Utility.html#SpiceSharp_Utility_ThrowIfNull__1___0_System_String_">Utility.ThrowIfNull&lt;T&gt;(T, string)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_GetComplexCurrent_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_">SimulationHelper.GetComplexCurrent(ISimulation, Reference)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_GetComplexProperty_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_System_String_">SimulationHelper.GetComplexProperty(ISimulation, Reference, string)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_GetComplexVoltage_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_">SimulationHelper.GetComplexVoltage(ISimulation, Reference)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_GetComplexVoltage_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_SpiceSharp_Simulations_Base_Reference_">SimulationHelper.GetComplexVoltage(ISimulation, Reference, Reference)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_GetCurrent_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_">SimulationHelper.GetCurrent(ISimulation, Reference)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_GetProperty_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_System_String_">SimulationHelper.GetProperty(ISimulation, Reference, string)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_GetVoltage_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_">SimulationHelper.GetVoltage(ISimulation, Reference)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_GetVoltage_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_SpiceSharp_Simulations_Base_Reference_">SimulationHelper.GetVoltage(ISimulation, Reference, Reference)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_RunToEnd_SpiceSharp_Simulations_ISimulation_SpiceSharp_Entities_IEntityCollection_System_Collections_Generic_IDictionary_System_Int32_System_Action__">SimulationHelper.RunToEnd(ISimulation, IEntityCollection, IDictionary&lt;int, Action&gt;)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_TryGetComplexCurrent_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_System_Numerics_Complex__">SimulationHelper.TryGetComplexCurrent(ISimulation, Reference, out Complex)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_TryGetComplexProperty_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_System_String_System_Numerics_Complex__">SimulationHelper.TryGetComplexProperty(ISimulation, Reference, string, out Complex)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_TryGetComplexVoltage_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_SpiceSharp_Simulations_Base_Reference_System_Numerics_Complex__">SimulationHelper.TryGetComplexVoltage(ISimulation, Reference, Reference, out Complex)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_TryGetComplexVoltage_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_System_Numerics_Complex__">SimulationHelper.TryGetComplexVoltage(ISimulation, Reference, out Complex)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_TryGetCurrent_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_System_Double__">SimulationHelper.TryGetCurrent(ISimulation, Reference, out double)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_TryGetProperty_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_System_String_System_Double__">SimulationHelper.TryGetProperty(ISimulation, Reference, string, out double)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_TryGetVoltage_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_SpiceSharp_Simulations_Base_Reference_System_Double__">SimulationHelper.TryGetVoltage(ISimulation, Reference, Reference, out double)</a>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.Simulations.SimulationHelper.html#SpiceSharp_Simulations_SimulationHelper_TryGetVoltage_SpiceSharp_Simulations_ISimulation_SpiceSharp_Simulations_Base_Reference_System_Double__">SimulationHelper.TryGetVoltage(ISimulation, Reference, out double)</a>
  </div>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="SpiceSharp.Simulations.Simulation.html">Simulation</a></div>
      <div><a class="xref" href="SpiceSharp.Simulations.IBiasingSimulation.html">IBiasingSimulation</a></div>
      <div><a class="xref" href="SpiceSharp.Simulations.IStateful-1.html">IStateful</a>&lt;S&gt;</div>
      <div><a class="xref" href="SpiceSharp.Simulations.Biasing.TemperatureSimulationState.html">TemperatureSimulationState</a></div>
      <div><a class="xref" href="SpiceSharp.Simulations.IIterationSimulationState.html">IIterationSimulationState</a></div>
      <div><a class="xref" href="SpiceSharp.Behaviors.IBiasingUpdateBehavior.html">IBiasingUpdateBehavior</a></div>
      <div><a class="xref" href="SpiceSharp.Simulations.IBehavioral-1.html">IBehavioral</a>&lt;B&gt;</div>
      <div><a class="xref" href="SpiceSharp.ParameterSets.IParameterized-1.html">IParameterized</a>&lt;P&gt;</div>
  </div>

</article>
          </div>

          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In this article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>

      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
      
      <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>

    <script type="text/javascript" src="../styles/docfx.vendor.min.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
